<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>确认订单</title>
</head>
<body>
{layout name="layout" /}
 <div class="order-right f-r">

        <div class="order-md">
            <div class="md-tit">
                <h3>我的订单</h3>
            </div>

            <div class="md-info">
                <div class="dai">
                    <input type="checkbox" name="hobby" value=""><span>待付款</span>
                </div>
                {foreach $dfkDingdan as $vo}
                <div class="dai-con">
                    <dl class="dl1">
                        <dt>
                            <input type="checkbox" name="hobby" value="" class="f-l"></input>
                            <a href="#" class="f-l"><img src="/static/con/images/dai.gif" /></a>
                        <div style="clear:both;"></div>
                        </dt>
                        <dd>
                            <a title="订单详情" href="javascript:;"onclick="admin_permission_edit('订单详情','{:url('home/commodity/orderInfo')}?id={$vo['id']}&orindex=1','1','998','600')">订单号:{$vo.number}</a>
                        </dd>
                        <div style="clear:both;"></div>
                    </dl>
                    <div class="dai-right f-l">
                        <P class="d-r-p1">创建时间<br />{$vo.addTime}</P>

                        <p class="d-r-p3">¥ {$vo.total}</p>
                        <p class="d-r-p4"><a href="#"><b>付款</b></a></p>
                    </div>
                    <div style="clear:both;"></div>
                </div>
                {/foreach}
            </div>
            <div class="md-info">
                <div class="dai">
                    <input type="checkbox" name="hobby" value=""></input><span>待发货</span>
                </div>
                {foreach $dfhDingdan as $vo}
                    <div class="dai-con">
                        <dl class="dl1">
                            <dt>
                                <input type="checkbox" name="hobby" value="" class="f-l"></input>
                                <a href="#" class="f-l"><img src="/static/con/images/dai.gif" /></a>
                            <div style="clear:both;"></div>
                            </dt>
                            <dd>
                                <a title="订单详情" href="javascript:;"onclick="admin_permission_edit('订单详情','{:url('home/commodity/orderInfo')}?id={$vo['id']}&orindex=1','1','998','600')">订单号:{$vo.number}</a>
                            </dd>
                            <div style="clear:both;"></div>
                        </dl>
                        <div class="dai-right f-l">
                            <P class="d-r-p1">创建时间<br />{$vo.addTime}</P>

                            <p class="d-r-p3">¥ {$vo.total}</p>

                        </div>
                        <div style="clear:both;"></div>
                    </div>
                {/foreach}
            </div>
            <div class="md-info">
                <div class="dai">
                    <input type="checkbox" name="hobby" value=""></input><span>待收货</span>
                </div>
                {foreach $dshDingdan as $vo}
                    <div class="dai-con">
                        <dl class="dl1">
                            <dt>
                                <input type="checkbox" name="hobby" value="" class="f-l"></input>
                                <a href="#" class="f-l"><img src="/static/con/images/dai.gif" /></a>
                            <div style="clear:both;"></div>
                            </dt>
                            <dd>
                                <a title="订单详情" href="javascript:;"onclick="admin_permission_edit('订单详情','{:url('home/commodity/orderInfo')}?id={$vo['id']}&orindex=1','1','998','600')">订单号:{$vo.number}</a>
                            </dd>
                            <div style="clear:both;"></div>
                        </dl>
                        <div class="dai-right f-l">
                            <P class="d-r-p1">创建时间<br />{$vo.addTime}</P>

                            <p class="d-r-p3">¥ {$vo.total}</p>
                            <p class="d-r-p4"><a href="#">确认收货</a><br /><a href="JavaScript:;" ckwl="">查看物流</a></p>
                        </div>
                        <div style="clear:both;"></div>
                    </div>
                {/foreach}
            </div>
            <div class="md-info">
                <div class="dai">
                    <input type="checkbox" name="hobby" value=""></input><span>待评价</span>
                </div>
                {foreach $dpjDingdan as $vo}
                    <div class="dai-con">
                        <dl class="dl1">
                            <dt>
                                <input type="checkbox" name="hobby" value="" class="f-l"></input>
                                <a href="#" class="f-l"><img src="/static/con/images/dai.gif" /></a>
                            <div style="clear:both;"></div>
                            </dt>
                            <dd>
                                <a title="订单详情" href="javascript:;"onclick="admin_permission_edit('订单详情','{:url('home/commodity/orderInfo')}?id={$vo['id']}&orindex=4','1','998','600')">订单号:{$vo.number}</a>
                            </dd>
                            <div style="clear:both;"></div>
                        </dl>
                        <div class="dai-right f-l">
                            <P class="d-r-p1">创建时间<br />{$vo.addTime}</P>

                            <p class="d-r-p3">¥ {$vo.total}</p>
                            <p class="d-r-p4"><a href="javascript:;" onclick="admin_permission_edits('订单详情','{:url('home/commodity/comment')}?orid={$vo.id}','1','998','600')"><b style="size: 20px">评价</b></a></p>
                        </div>
                        <div style="clear:both;"></div>
                    </div>
                {/foreach}

            </div>
            <!--分页-->

        </div>

    </div>
<script>
    function admin_permission_edit(title,url,id,w,h){
        layer_show(title,url,w,h);
    }
    function admin_permission_edits(title,url,id,w,h){
        layer_show(title,url,w,h);
    }
</script>
</body>
</html>